/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.cqq.model;

import com.yunhoo.sys.util.common.LoginParam;

/**
 * 上传的文档资源类型实体类
 *
 * @author hongli
 */
public class DocumentType implements java.io.Serializable {

    private String id;
    private String name;
    private int gradeLevel;
    private String isEnd;
    private String description;
    private String orgCode;

    public DocumentType() {
        orgCode = LoginParam.getOrg().getCode();
    }

    public DocumentType(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getGradeLevel() {
        return gradeLevel;
    }

    public void setGradeLevel(int gradeLevel) {
        this.gradeLevel = gradeLevel;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(String isEnd) {
        this.isEnd = isEnd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DocumentType(String id, String name, int gradeLevel, String isEnd) {
        this.id = id;
        this.name = name;
        this.gradeLevel = gradeLevel;
        this.isEnd = isEnd;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
}
